package com.jy.rhin.infra.cda.dao.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.jy.rhin.infra.cda.dao.ZhongXingJSBDJDao;
import com.jy.rhin.infra.cda.mapper.ZhongXingJSBDJMapper;
import com.jy.rhin.infra.cda.zxjsb.JingShenBDJVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ZhongXingJSBDJDaoImpl implements ZhongXingJSBDJDao {

    @Resource
    ZhongXingJSBDJMapper zhongXingJSBDJMapper;

    @Override
    public JingShenBDJVo get(String jingShenBJLID, String yeWuJGDM) {
        QueryWrapper<JingShenBDJVo> queryWrapper = new QueryWrapper<JingShenBDJVo>();
        queryWrapper.eq("YEWUJGDM", yeWuJGDM);
        queryWrapper.eq("JINGSHENBINGJLID", jingShenBJLID);
        return zhongXingJSBDJMapper.getOne(queryWrapper);
    }

}
